from config import logger
from service import DemoService



if __name__ == '__main__':
    # demoDto_list = DemoService.demo_select_has_params()
    # logger.info(demoDto_list)
    # row_count: int = DemoService.demo_insert_one()
    # logger.info(row_count)
    # row_count: int = DemoService.demo_explicitly_transaction()
    # logger.info(row_count)
    # logger.info( type( DemoService.demo_decorators_transaction() ) )
    row_count: int = DemoService.demo_decorators_transaction()
    print(row_count)